<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link type="text/css" rel="stylesheet" href="../resources/css/main.css" />

<script type="text/javascript" src="../resources/js/jquery-1.4.2.min.js"></script>

<title>$(html)</title>

<style type="text/css">



</style>

<script type="text/javascript">
	$(document).ready(function() {
		$('div, p', '#container').css('background', 'blue');
	});
</script>


</head>

<body>
<h4>$(element)</h4>
<hr />
<br />

<div style="background-color: #EEEEE0; padding: 10px;">
<pre>
$(document).ready(function() {
	$('div, p', '#container').css('background', 'blue');
});
</pre>
</div>

<br>

<div id="container">
	<div >
		I'm one div selected by jquery by element 
	</div>
	<br>
	<p>
		I'm one paragraph selected by jquery by element
	</p>
</div>

</body>
</html>